package com.xiaoshuidi.cloud.module.member.pojo.user;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.xiaoshuidi.cloud.framework.mybatis.core.dataobject.BaseDO;
import com.xiaoshuidi.cloud.framework.tenant.core.db.TenantBaseDO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;

@TableName(value = "member_authentication", autoResultMap = true)
@Data
@EqualsAndHashCode(callSuper = true)
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
public class MemberAuthentication extends BaseDO implements Serializable {
    private static final long serialVersionUID = 8213228774873683438L;
    @TableId(type = IdType.AUTO)
    private Long id;

    @Schema(description ="第三方对接厂商 1法大大")
    private Integer provider;

    @Schema(description ="法大大认证状态0：未激活；1：未认证；2：审核通过；3：已提交待审核；4：审核不通过;")
    private Integer idauthStatus;

//    @Schema(description ="姓名")
//    private String name;
//
//    @Schema(description ="手机号码")
//    private String phone;
//
//    @Schema(description ="身份证id")
//    private String idCard;

    @Schema(description ="签章编码（个人法大大编号）")
    private String signatureCode;

    @Schema(description ="用户编号")
    private Long userId;

    @Schema(description ="信息描述")
    private String detail;

    @Schema(description ="法大大交易号")
    private String transactionNo;

    @Schema(description ="法大大注册id")
    private String fadadaId;

    @Schema(description ="认证类型 1三要素认证 2人脸认证")
    private Integer authType;

}
